<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .register{
            width: 1200px;
            margin: auto;
        }
        .form{
            width: 400px;
            margin: auto;
            margin-top: 20%;
        }
        input[type="text"]{
            width: 300px;
            float: right;
        }
        input[type="password"]{
            width: 300px;
            float: right;
        }
        input[type="submit"]{
            width: 400px;
        }
        *{
            padding: 0;
            margin: 0;
        }

    </style>
</head>
<body>
    <div class="register">
        <form action="/register" method="post" class="form">
            用户名：<input type="text" name="username" id=""><br>
            密码：<input type="password" name="pwd" id=""><br>
            <input type="submit" value="注册">
        </form>
    </div>
</body>
</html>